<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-AU">
<head>
<title><%= goldberg_title %></title>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" href="/goldberg/stylesheets/goldberg.css" 
  type="text/css" media="screen" />
<link rel="stylesheet" href="/goldberg/stylesheets/layout.css" 
  type="text/css" media="screen" />

<%= javascript_include_tag :defaults %>

<script type="text/javascript" src="/goldberg/javascripts/suckerfish.js"></script>

<% if defined?(RAILS_ROOT)
     if File.exists?("#{RAILS_ROOT}/public/stylesheets/ajax_scaffold.css") -%>
<%= stylesheet_link_tag 'ajax_scaffold', :media => 'all' %>
  <% end 
     if File.exists?("#{RAILS_ROOT}/public/javascripts/ajax_scaffold.js") -%>
<%= javascript_include_tag 'rico_corner', 'ajax_scaffold' %>
  <% end
  end -%>
</head>

<body>
<div class="header">
<img src="/goldberg/images/logo.jpg"/>
<h1><%= Goldberg.settings.site_name %></h1>
<h2><%= Goldberg.settings.site_subtitle %></h2>
</div>
<div class="navbar">
  <div class="topmenu">
    <ul id="suckerfish">
      <%= goldberg_suckerfish_menu %>
    </ul>
  </div>
</div>

<div class="wrapper">
  <div class="container">

    <div class="main">
      <div class="content">
        <div class="breadcrumbs">
          <%= goldberg_breadcrumbs %>
        </div>
<% if flash[:note] -%>
<div class="flash_note"><%= flash[:note] %></div>
<% elsif flash[:error] -%>
<div class="flash_error"><h1>Error!</h1><%= flash[:error] %></div>
<% end -%>
<%= yield %>
    </div>  <!-- class="content" -->
    </div>  <!-- class="main" -->
  </div>
  
  <div class="sidebar">
    <div class="sidecontent">
      <%= goldberg_login %>
    </div>
  </div>  <!-- class="sidebar" -->
  <div class="clearing">&nbsp;</div>

</div>  <!-- class="wrapper" -->

<div class="footer" align="center">
<%= Goldberg.settings.footer_message %>
</div>  <!-- class="footer" -->

</body>
</html>
